package com.java2207.group1.mapper;

import com.java2207.group1.bo.ConsultBo;
import com.java2207.group1.pojo.Consult;
import com.java2207.group1.vo.consult.BarVo;
import com.java2207.group1.vo.consult.PieVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ConsultMapper {
    List<Consult> selectByParams(Map<String, Object> params);

    int deleteConsult(Integer id);

    int addConsult(Consult consult);

    int updateConsult(Consult consult);

    int batchCon(@Param("ids") String[] ids);

    List<BarVo> setBarData();

    List<PieVo> setPieData();

    List<ConsultBo> consultExcelData(Consult consult);


}
